package com.lvcoding.spring5.annotation3x.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Service;

/**
 * @Description 描述
 * @Date 2020-07-23 3:25 下午
 * @Author wuyanshen
 */
@ComponentScan(basePackages = "com.lvcoding.spring5.annotation3x.scan",
        useDefaultFilters = false,
        includeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION, value = {Service.class}),
                          @ComponentScan.Filter(type = FilterType.ASPECTJ,pattern = "*..User2")  })
@Configuration
public class AppConfig3 {
}
